Ubuntu 12.04
Sponsored Link

Configure as a Reverse Proxy
2012/07/09
 
Configure Squid as a Reverse Proxy
[1] Configure Squid
root@lan:~#
vi /etc/squid3/squid.conf
# line 1137: specify web server's IP address for backend

http_port
80 defaultsite=10.0.0.31
# line 1952: add

cache_peer 10.0.0.31 parent 80 0 no-query originserver
# near line 843: add ( allow http all )

http_access allow all
root@lan:~#
service squid3 restart

squid3 stop/waiting
squid3 start/running, process 1514
[2] Change Settings of DNS or router if needed, and access to make sure the settings are enabled.
 
Tweet